define(window.backboneCommon.getControllerDefine("Spread"), function (require,Model,ModelBaseData) {
    var model=new Model();
    var modelBaseData=new ModelBaseData();
    return Backbone.Collection.extend({
        model:  model,
        initialize: function () {
            model.set({modelBaseData:modelBaseData});
        },
        getPageList:function(param){
            model.getPageList(param);
        },
        initAfterDetails:function () {
            modelBaseData.getSpreadType();
            modelBaseData.getObjMatterType();
        },
        getInfo:function(param){
            model.getInfo(param);
        },
        saveInfo:function (json) {
            json.id ? model.updateInfo(json) : model.addInfo(json);
        },
        updateStatus:function (param) {
            model.updateStatus(param);
        },
        updatePrice:function (param) {
            model.updatePrice(param);
        }
    });
});